package com.qijian.business.domain.query;

import java.util.Date;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonFormat;

import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 仓库调拨明细对象 查询条件类
 *
 * @author qijian
 * @date 2021-09-16
 */

@Data
@ToString
@TableName("im_store_transfer_detail")
public class StoreTransferDetailQuery {

    @WhereType(filed = "id")
    private Long id;
    private Long storeTransferId;
    @WhereType(filed = "product_id")
    private Long productId;
    @WhereType(filed = "product_name")
    private String productName;
    @WhereType(filed = "product_code")
    private String productCode;
    @WhereType(filed = "product_specification")
    private String productSpecification;
    @WhereType(filed = "product_unit")
    private String productUnit;
    @WhereType(filed = "count")
    private Long count;
    @WhereType(filed = "batch_no")
    private String batchNo;
    @WhereType(filed = "produced_date")
    private Date producedDate;
    @WhereType(filed = "validity_date")
    private Date validityDate;
    @WhereType(filed = "remark")
    private String remark;

    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
}
